package org.neptune.web.controller;

import org.neptune.common.response.ResponseBean;
import org.neptune.service.service.SystemInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @author lwl
 * @date 2020/2/9 11:03 上午
 */
@RestController
@RequestMapping("/systemInfo")
public class SystemInfoController {

	@Autowired
	private SystemInfo systemInfo;

	@RequestMapping("/querySystemInfo")
	public ResponseBean<Map<String,Object>> querySystemInfo(){

		return ResponseBean.success(systemInfo.querySystemInfo());
	}


}
